package com.example.xiaomi.mapper;
import com.example.xiaomi.entity.AdminInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface LoginpowerMapper {
@Select("select adminname,password from admininfo where adminname=#{adminname}")
    List<AdminInfo> findLoginInfo(String adminname);


}